<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>创客中国后台管理系统</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="${pageContext.request.contextPath}/images/newfavicon.ico" />
<link rel="bookmark" type="image/vnd.microsoft.icon" href="${pageContext.request.contextPath}/images/newfavicon.ico" />
<link href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
<script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<style>
body {
	background-color: #eee;
}

.form-signin {
	max-width: 350px;
	padding-top: 100px;
	margin: 0 auto;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: normal;
}

.form-signin .form-control {
	position: relative;
	font-size: 16px;
	height: auto;
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="text"] {
	margin-bottom: -1px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
</style>
</head>
<body>
	<form name="f" action="console/j_spring_security_check" method="post" class="form-signin" role="form">
		<h2 class="form-signin-heading">请登录</h2>
		<input id="j_username" type='text' name='j_username' class="form-control" placeholder="姓名或手机号" required autofocus> <input id="j_password"
			type='password' name='j_password' class="form-control" placeholder="密码" required> <label class="checkbox" style="padding-left: 20px;">
				<input id="remember-me" name="remember-me" type="checkbox" value="true">Remember me
		</label>
		<button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
		<c:if test="${not empty param.login_error}">
			<font color="red"> 登录失败: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />.
			</font>
		</c:if>
	</form>
</body>
</html>